home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global var1, var2
- if chars(var2, 6, 6) = "a" then
- if var1 <= 5 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 39 to 1
- else
- if var1 <= 10 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 40 to 1
- end if
- end if
- if var1 = 15 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 41 to 1
- else
- if var1 <= 20 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 42 to 1
- else
- if var1 <= 25 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 43 to 1
- else
- if var1 <= 30 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 44 to 1
- else
- if var1 <= 35 then
- set the visible of sprite 29 to 1
- set the visible of sprite 38 to 1
- set the visible of sprite 45 to 1
- end if
- end if
- end if
- end if
- end if
- else
- if var1 = 5 then
- set the visible of sprite 30 to 1
- else
- if var1 <= 10 then
- set the visible of sprite 31 to 1
- else
- if var1 <= 15 then
- set the visible of sprite 32 to 1
- else
- if var1 <= 20 then
- set the visible of sprite 33 to 1
- else
- if var1 <= 25 then
- set the visible of sprite 34 to 1
- else
- if var1 <= 30 then
- set the visible of sprite 35 to 1
- else
- if var1 <= 35 then
- set the visible of sprite 36 to 1
- else
- if var1 <= 40 then
- set the visible of sprite 37 to 1
- else
- if var1 <= 45 then
- set the visible of sprite 38 to 1
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on exitFrame
- general()
- go(#loop)
- end
-